package com.feel.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Department implements Serializable {
    private static final Long serialVersionUID = 12111111111L;
    /**
     * 部门ID
     */
    private Integer departmentId;    // 部门ID
    /**
     * 部门名称
     */
    @NotNull
    @NotEmpty
    private String departmentName;   // 部门名称

    /**
     * 负责人信息
     */
    private User admin;
}
